﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace ConsoleApp5
{
    class Student
    {
        public string Name { get; set; }
        public int Num { get; set; }
        public int Age { get; set; }


        public Student(string Name, int Age, int Num)
        {
            this.Name = Name;
            this.Age = Age;
            this.Num = Num;
        }
        public Student() { }

        public override string ToString()
        {
            return $"我的名字是{Name}，我今年{Age}岁，学号是{Num}";
        }

       
    }  
}

